score = int(input("输入小明的期末成绩："))
if score == 100:
    print("奖励一辆宝马！")
elif 80 <= score <= 99:
    print("奖励一台iphone！")
elif 60 <= score <= 79:
    print("奖励一本参考书！")
else:
    print("什么奖励也没有！")
